import request from "@/utils/request";
//获取分类列表
export const getCategoryList = props => {
    return request({
        url: "/mall/tenantSelect/categoryList",
        method: "post",
        data: props
    });
};
//分页商品查询
export const getSelectPage = props => {
    return request({
        url: "/mall/tenantSelect/page",
        method: "post",
        data: props
    });
};
//获取商品数量
export const getPublishNum = props => {
    return request({
        url: "/mall/tenantSelect/publishNum",
        method: "post",
        data: props
    });
};

//根据id获取区域
export const getOperateAreaList = props => {
    return request({
        url: "/mall/admin/product/getOperateAreaList",
        method: "post",
        data: props
    });
};

//添加预选商品
export const addTenantSelect = props => {
    return request({
        url: "/mall/tenantSelect/save",
        method: "post",
        data: props
    });
};




